package edu.lsnu.equipment_management_system.pojo.po.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author mzy
 * @Description 设备维修维护PO：JBXX_WHWX
 * @date 2018/11/17
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class EquipmentRepairTablePo {
    public void setEquipmentNo(String equipmentNo) {
        this.equipmentNo = equipmentNo.trim();
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo.trim();
    }
    /** 设备编号：SBBH(来自页面) */
    private String equipmentNo;
    /** 维护或者维修：WHWX(来自页面) */
    private String repairOr;
    /** 经手人：[默认当前的用户] ZGH  session*/
    private String userNo;
    /** 维修日期：XHRQ1 (来自页面)*/
    @JsonFormat(pattern = "yyyy-MM-dd", locale = "zh", timezone = "GMT+8")
    private Date repairDate;
    /** 完成修护日期：XHRQ2 */
    // private Date endDate;
    /** 修护原因：XHYY (来自页面) */
    private String repairReason;
    /** 修护地点：XHDD (来自页面)*/
    private String repairPlace;
    /** 修护人员：XHRY (来自页面)*/
    private String repairMan;
    /** 修护费用：XHFY (来自页面)*/
    private Double repairMoney;
    /** 备注：BZ */
    private String remark;
}
